Output Digital Signal Level

  • Function:

    magicbox.set_io(port,level)
    
  • Description: set the level of digital output port

  • Required parameter:

    • port: EIO address, range: 1-26
    • level: output level, 0: low level, 1: high level
  • Return:
    • True: The command has been finished.
    • False: The command has not been finished.
  • Example

    magicbox.set_io(port=1,level=1)
    

    Set EIO1 port to high level output.

results matching ""

    No results matching ""